package edums.common.model.dao;

import java.sql.SQLException;
import java.util.ArrayList;

import org.springframework.orm.ibatis.SqlMapClientTemplate;

import edums.common.dto.UserMenuDTO;

public class UserMenuDAOImpl implements UserMenuDAO {
	
	private SqlMapClientTemplate client;

	public void setSqlMapClient(SqlMapClientTemplate client) {
		this.client = client;
	}

	@Override
	public ArrayList<UserMenuDTO> selectUserMenuList(UserMenuDTO userMenuDTO) throws SQLException {
		return (ArrayList<UserMenuDTO>)client.queryForList("userMenu.selectUserMenuList", userMenuDTO);
	}

}
